<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>moment插件使用</title>
</head>
<body>
<h1>moment插件使用</h1>
</body>
<script src="plugins/moment.min.js"></script>
<script>
    console.log("currentTiem:" + moment());
    console.log("YYYY-MM-DD HH:mm:ss:" + moment(Date.now()).format('YYYY-MM-DD HH:mm:ss'));
</script>
</html>